package cn.net.wanji.utils;

import cn.net.wanji.entity.VehicleRsuInfo;

public class VehicleRsuInfoUtil {
    public static void setExitVehicleRsuInfo(VehicleRsuInfo vehicleRsuInfo) {
        vehicleRsuInfo.setErId(vehicleRsuInfo.getErId());
        vehicleRsuInfo.setExitTime(vehicleRsuInfo.getHeadPicTime());
        vehicleRsuInfo.setExitDangerousGoods(vehicleRsuInfo.getDangerousGoods());
        vehicleRsuInfo.setExitDevType(vehicleRsuInfo.getDevType());
        vehicleRsuInfo.setExitHeadImage(vehicleRsuInfo.getHeadImage());
        vehicleRsuInfo.setExitIdentifyType(vehicleRsuInfo.getIdentifyType());
        vehicleRsuInfo.setExitLicenseCode(vehicleRsuInfo.getLicenseCode());
        vehicleRsuInfo.setExitSideImage(vehicleRsuInfo.getSideImage());
        vehicleRsuInfo.setExitLicenseImage(vehicleRsuInfo.getLicenseImage());
        vehicleRsuInfo.setExitTailImage(vehicleRsuInfo.getTailImage());
        vehicleRsuInfo.setExitVehicleAxleCount(vehicleRsuInfo.getVehicleAxleCount());
        vehicleRsuInfo.setExitVehicleSpeed(vehicleRsuInfo.getVehicleSpeed());
    }
    public static VehicleRsuInfo setVehicleRsuInfo(VehicleRsuInfo vehicleRsuInfo,VehicleRsuInfo entryVehicleRsuInfo) {
        VehicleRsuInfo vehicleRsuInfo1 = new VehicleRsuInfo();
        vehicleRsuInfo1 = entryVehicleRsuInfo;
        vehicleRsuInfo1.setExitErId(vehicleRsuInfo.getErId());
        vehicleRsuInfo1.setExitTime(vehicleRsuInfo.getHeadPicTime());
        vehicleRsuInfo1.setExitDangerousGoods(vehicleRsuInfo.getDangerousGoods());
        vehicleRsuInfo1.setExitDevType(vehicleRsuInfo.getDevType());
        vehicleRsuInfo1.setExitHeadImage(vehicleRsuInfo.getHeadImage());
        vehicleRsuInfo1.setExitIdentifyType(vehicleRsuInfo.getIdentifyType());
        vehicleRsuInfo1.setExitLicenseCode(vehicleRsuInfo.getLicenseCode());
        vehicleRsuInfo1.setExitSideImage(vehicleRsuInfo.getSideImage());
        vehicleRsuInfo1.setExitLicenseImage(vehicleRsuInfo.getLicenseImage());
        vehicleRsuInfo1.setExitTailImage(vehicleRsuInfo.getTailImage());
        vehicleRsuInfo1.setExitVehicleAxleCount(vehicleRsuInfo.getVehicleAxleCount());
        vehicleRsuInfo1.setExitVehicleSpeed(vehicleRsuInfo.getVehicleSpeed());
        return vehicleRsuInfo1;
    }
}
